﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class ModelHitPointWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(ModelHitPoint);
			Utils.BeginObjectRegister(type, L, translator, 0, 4, 20, 20);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "BindGameObjectOnPoint", _m_BindGameObjectOnPoint);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SwitchWeapon", _m_SwitchWeapon);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "InitShadow", _m_InitShadow);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetShadowVisible", _m_SetShadowVisible);
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "hitPoints", _g_get_hitPoints);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "hitPointsMissRange", _g_get_hitPointsMissRange);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "hudPoint", _g_get_hudPoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "hudHeight", _g_get_hudHeight);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "gunPoints", _g_get_gunPoints);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "bulletCastPoints", _g_get_bulletCastPoints);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "skillEffectPoints", _g_get_skillEffectPoints);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "flyTextPoint", _g_get_flyTextPoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "flyTextCriticalPoint", _g_get_flyTextCriticalPoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "buffEffectPoints", _g_get_buffEffectPoints);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "anchorPoint", _g_get_anchorPoint);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "rotationBase", _g_get_rotationBase);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "shield", _g_get_shield);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "bulletPoints", _g_get_bulletPoints);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "bulletPointsType", _g_get_bulletPointsType);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "bulletPointSpeed", _g_get_bulletPointSpeed);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "bulletPointsSpeedType", _g_get_bulletPointsSpeedType);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "weapons", _g_get_weapons);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "hitDuration", _g_get_hitDuration);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "hasInitedShadowData", _g_get_hasInitedShadowData);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "hitPoints", _s_set_hitPoints);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "hitPointsMissRange", _s_set_hitPointsMissRange);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "hudPoint", _s_set_hudPoint);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "hudHeight", _s_set_hudHeight);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "gunPoints", _s_set_gunPoints);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "bulletCastPoints", _s_set_bulletCastPoints);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "skillEffectPoints", _s_set_skillEffectPoints);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "flyTextPoint", _s_set_flyTextPoint);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "flyTextCriticalPoint", _s_set_flyTextCriticalPoint);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "buffEffectPoints", _s_set_buffEffectPoints);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "anchorPoint", _s_set_anchorPoint);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "rotationBase", _s_set_rotationBase);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "shield", _s_set_shield);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "bulletPoints", _s_set_bulletPoints);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "bulletPointsType", _s_set_bulletPointsType);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "bulletPointSpeed", _s_set_bulletPointSpeed);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "bulletPointsSpeedType", _s_set_bulletPointsSpeedType);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "weapons", _s_set_weapons);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "hitDuration", _s_set_hitDuration);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "hasInitedShadowData", _s_set_hasInitedShadowData);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
			
			
            
			
			
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new ModelHitPoint();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to ModelHitPoint constructor!");
            
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 0)
				{
					
					var gen_ret = new ModelHitPoint();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to ModelHitPoint constructor!");
            
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_BindGameObjectOnPoint(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _pointType = LuaAPI.xlua_tointeger(L, 2);
                    int _pointIndex = LuaAPI.xlua_tointeger(L, 3);
                    int _bindType = LuaAPI.xlua_tointeger(L, 4);
                    UnityEngine.GameObject _gameObject = (UnityEngine.GameObject)translator.GetObject(L, 5, typeof(UnityEngine.GameObject));
                    
                    gen_to_be_invoked.BindGameObjectOnPoint( _pointType, _pointIndex, _bindType, _gameObject );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SwitchWeapon(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    int _index = LuaAPI.xlua_tointeger(L, 2);
                    int _backupIndex = LuaAPI.xlua_tointeger(L, 3);
                    
                    gen_to_be_invoked.SwitchWeapon( _index, _backupIndex );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    int _index = LuaAPI.xlua_tointeger(L, 2);
                    
                    gen_to_be_invoked.SwitchWeapon( _index );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to ModelHitPoint.SwitchWeapon!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_InitShadow(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Material _modelShadow = (UnityEngine.Material)translator.GetObject(L, 2, typeof(UnityEngine.Material));
                    
                    gen_to_be_invoked.InitShadow( _modelShadow );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetShadowVisible(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    bool _visible = LuaAPI.lua_toboolean(L, 2);
                    
                    gen_to_be_invoked.SetShadowVisible( _visible );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_hitPoints(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.hitPoints);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_hitPointsMissRange(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.hitPointsMissRange);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_hudPoint(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.hudPoint);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_hudHeight(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.hudHeight);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_gunPoints(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.gunPoints);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_bulletCastPoints(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.bulletCastPoints);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_skillEffectPoints(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.skillEffectPoints);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_flyTextPoint(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.flyTextPoint);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_flyTextCriticalPoint(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.flyTextCriticalPoint);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_buffEffectPoints(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.buffEffectPoints);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_anchorPoint(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.anchorPoint);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_rotationBase(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.rotationBase);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_shield(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.shield);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_bulletPoints(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.bulletPoints);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_bulletPointsType(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.bulletPointsType);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_bulletPointSpeed(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.bulletPointSpeed);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_bulletPointsSpeedType(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.bulletPointsSpeedType);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_weapons(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.weapons);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_hitDuration(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.hitDuration);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_hasInitedShadowData(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.hasInitedShadowData);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_hitPoints(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.hitPoints = (System.Collections.Generic.List<UnityEngine.Transform>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Transform>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_hitPointsMissRange(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.hitPointsMissRange = (System.Collections.Generic.List<UnityEngine.Vector2>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Vector2>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_hudPoint(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.hudPoint = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_hudHeight(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.hudHeight = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_gunPoints(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.gunPoints = (System.Collections.Generic.List<UnityEngine.Transform>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Transform>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_bulletCastPoints(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.bulletCastPoints = (System.Collections.Generic.List<UnityEngine.Transform>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Transform>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_skillEffectPoints(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.skillEffectPoints = (System.Collections.Generic.List<UnityEngine.Transform>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Transform>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_flyTextPoint(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.flyTextPoint = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_flyTextCriticalPoint(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.flyTextCriticalPoint = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_buffEffectPoints(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.buffEffectPoints = (System.Collections.Generic.List<UnityEngine.Transform>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Transform>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_anchorPoint(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.anchorPoint = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_rotationBase(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.rotationBase = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_shield(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.shield = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_bulletPoints(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.bulletPoints = (System.Collections.Generic.List<UnityEngine.Transform>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Transform>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_bulletPointsType(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.bulletPointsType = (System.Collections.Generic.List<int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<int>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_bulletPointSpeed(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.bulletPointSpeed = (System.Collections.Generic.List<UnityEngine.Vector3>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_bulletPointsSpeedType(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.bulletPointsSpeedType = (System.Collections.Generic.List<int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<int>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_weapons(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.weapons = (System.Collections.Generic.List<UnityEngine.GameObject>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.GameObject>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_hitDuration(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.hitDuration = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_hasInitedShadowData(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                ModelHitPoint gen_to_be_invoked = (ModelHitPoint)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.hasInitedShadowData = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
